
<!-- admin form input -->

<table class="adminform" cellpadding="10px">
<tr><td><strong>Ask</strong></td></tr>
<tr>
<td><textarea rows="5" cols="50" id="ask" name="ask"><?php echo $this->escape($this->question["ask"]);?></textarea> 
<br><?php echo $this->error($this->errorList["ask"]);?>
</td>
</tr>

<tr><td><strong>Publish: </strong> 
<?php if(empty($this->question["status"])){
?>
<input type="radio" name="status" value="0" checked="checked">No
<input type="radio" name="status" value="1" >Yes
<?php } 
else{?>
<input type="radio" name="status" value="0">No
<input type="radio" name="status" value="1" checked="checked">Yes
<?php } ?>
</td></tr>

</table>
<!--<script type="text/javascript">
initMCE("answer");
</script>
--><table class="adminform">
<tr><td><strong>Answer</strong></td></tr>
<tr>
<td>
<textarea id="answer" name="answer" rows="15" cols="80" style="width: 80%">
<?php echo $this->question["answer"];?>
</textarea>
<br><?php echo $this->error($this->errorList["answer"]);?>
</td></tr>
</table>

<!-- end admin form input -->

<input type="hidden" name="cmd" id="cmd">
<input type="hidden" name="questionId" value="<?php echo $this->question['id'];?>">
<input type="hidden" name="ordering" value="<?php echo $this->question['ordering'];?>">
